package com.black.carbon.service.impl;


import com.black.carbon.entity.Introduce;
import com.black.carbon.mapper.IntroduceMapper;
import com.black.carbon.service.IntroduceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IntroduceServiceImpl implements IntroduceService {
    @Autowired
    IntroduceMapper introduceMapper;

    @Override
    public  Introduce findById(String id){
        return introduceMapper.selectById(id);
    }

    @Override
    public  void updateIntroduce(Introduce introduce){
        introduceMapper.updateIntroduce(introduce);
    }
}
